package com.ruoyi.eduadmin.api;

import com.ruoyi.common.core.constant.ServiceNameConstants;
import com.ruoyi.common.core.web.domain.AjaxResult;
import com.ruoyi.eduadmin.api.domain.TTeachTrace;
import com.ruoyi.eduadmin.api.factory.EduadminServiceFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/*
 *
 * @Author: awsister
 * @Date: 2022/12/27 0027 16:08
 */
@FeignClient(path = "/teacherTrace", contextId = "eduadminService", value = ServiceNameConstants.EDUADMIN_SERVICE, fallbackFactory = EduadminServiceFallbackFactory.class)
public interface EduadminService {
    @PostMapping
    AjaxResult add(@RequestBody TTeachTrace tTeachTrace);
}
